package com.gupao.javavip.gof.observer;

import com.google.common.eventbus.Subscribe;

public class PublishArticleEvent {
    @Subscribe
    public void process(Article article) {
        System.out.println("用户【" + article.getUser() + "】发布文章: " + article.getTitle());
    }
}
